package com.ysu.zyw.dao.trade;

import com.ysu.zyw.entity.trade.Merch;
import com.ysu.zyw.entity.trade.MerchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MerchMapper {
    int countByExample(MerchExample example);

    int deleteByExample(MerchExample example);

    int deleteByPrimaryKey(String id);

    int insert(Merch record);

    int insertSelective(Merch record);

    List<Merch> selectByExample(MerchExample example);

    Merch selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Merch record, @Param("example") MerchExample example);

    int updateByExample(@Param("record") Merch record, @Param("example") MerchExample example);

    int updateByPrimaryKeySelective(Merch record);

    int updateByPrimaryKey(Merch record);
}